package com.cloudoer.blog.service;

import com.cloudoer.blog.model.Tag;

import java.util.List;

public interface TagService {
    Tag getById(String id);

    String add (Tag tag);

    int update (Tag tag);

    int delete (String id);

    List<Tag> getAll ();

    List<Tag> getByPage (int pstart, int psize);

    int getCount ();
}
